<script>
	import {
		jumpPage
	} from "@/utils/global.js"
	import {
		useStore
	} from '@/store/user';
	import {
		remindStore
	} from '@/store/remind';
	export default {
		onLaunch: function() {
			let token = uni.getStorageSync("token")
			// console.log(token)
			if (!token) {
				uni.navigateTo({
					url: '/pages/login/main'
				});
			}
			remindStore.setRemindTimer()
			// console.log('App Launch')
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>